#include<bits/stdc++.h>
using namespace std;
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    int n;
    cin>>n;
    int ans=0;
    map<int,int>p;
    for(int i=1;i<=n;i++){
        int o;
        cin>>o;
        p[o]++;
    }
    for(auto w:p){
        ans=max(ans,w.second);
    }
    cout<<ans<<'\n';
    return 0;
}